EFI: add arch specific function to control use of config file
authorRoy Franz <roy.franz@linaro.org>
Fri, 26 Sep 2014 10:00:55 +0000 (12:00 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 26 Sep 2014 10:00:55 +0000 (12:00 +0200)
commit2c141a997fbca68d5b8c8b6238cb216a857f351e
treefbf373922603f4499eefde4434cb1b6a45c77b05
parent0e8d34037495e5686cf445317fe7d61644468d48
EFI: add arch specific function to control use of config file

The x86 EFI build of Xen always uses a configuration file to load modules, but
the ARM version can either use a config file to specify the modules, or be
loaded by GRUB in which case GRUB loads the modules and adds them to the DTB
that is passed to Xen.  Add the efi_arch_use_config_file() to indicate if a
configuration file is required.  For x86, this will always be true.  ARM will
examine the DTB passed via EFI configuration table (if any), and if it contains
module information will use that that not use the configuration file at all.
Add Emacs footer to efi-boot.h and boot.c

Signed-off-by: Roy Franz <roy.franz@linaro.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/efi/efi-boot.h
xen/common/efi/boot.c